package com.bamanker.cloudapi.model.exception;

import com.bamanker.cloudapi.model.response.ResultCode;

/**
 * @author bamanker
 */

public class BusinessException extends BaseException {

    public BusinessException(ResultCode resultCode, Object[] args, String message) {
        super(resultCode, args, message);
    }

    public BusinessException(ResultCode resultCode, Object[] args, String message, Throwable cause) {
        super(resultCode, args, message, cause);
    }

    public BusinessException(ResultCode resultCode, String message, Throwable cause) {
        super(resultCode, null, message, cause);
    }

    public BusinessException(ResultCode resultCode, String message) {
        super(resultCode, null, message, null);
    }

}
